Note: This statement is only used in load test scripts. See Load Testing for more information.
Adds a set of credentials to the cache of network credentials sent with all web requests.
To clear the network credentials cache, use the WebClearNetworkCredentials statement.
Syntax
WebAddNetworkCredential("Username", "Password", "Domain", "AuthenticationType")
Arguments
| Argument | Description |
|---|---|
| Username | Username to use. Required. |
| Password | Password to use. |
| Domain | Domain for credentials. If not specified, the default value is an empty string. |
| AuthenticationType | Authentication type. If not specified, the default value is BASIC. |
Example
WebAddNetworkCredential("Tester", "qapswd", "wysicorp", "BASIC")